package com.tarena.lbs.business.servcie;

import com.tarena.lbs.base.protocol.exception.BusinessException;
import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.business.pojo.param.StoreParam;
import com.tarena.lbs.business.pojo.query.StoreQuery;
import com.tarena.lbs.business.pojo.vo.StoreVO;
import org.springframework.stereotype.Service;

@Service
public interface StoreService {
    PageResult<StoreVO> pageList(StoreQuery query) throws BusinessException;

    void save(StoreParam param) throws BusinessException;

    void update(StoreParam param) throws BusinessException;

    void delete(Integer id) throws BusinessException;

    StoreVO detail(Integer storeId) throws BusinessException;
}
